package com.cqupt.model.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 单词和词书的关联表
 *
 * @TableName word_book
 */
@TableName(value = "word_book")
@Data
public class WordBook implements Serializable {
    /**
     *
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     *
     */
    private Integer wordId;

    /**
     *
     */
    private Integer bookId;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

}